import { useContext } from 'react';
import { AudioChatServiceContext } from '@/components/AudioChatServiceProvider/context';

export const useCurrentSentence = () => {
  const { currentBotSentence, currentUserSentence } = useContext(AudioChatServiceContext);
  return {
    currentBotSentence,
    currentUserSentence,
  };
};
